/* 标题组 */
let titles = [ //pages数组中第一项表示应用启动页，参考：https://uniapp.dcloud.io/collocation/pages
	{
		"path": "pages/index/index",
		"title": "首页",
		"leftIcon": "",
		"status": false,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/demo/index",
		"title": "演示页面",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/demo/notification",
		"title": "消息提示",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/im/login",
		"title": "登录环信",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/live/anchor",
		"title": "声网sdk",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/live/details/defaultAllocation",
		"title": "默认配置",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/live/details/joinLive",
		"title": "加入直播",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/live/details/oneOnOneVideo",
		"title": "一对一视频",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/live/details/oneOnOneVoice",
		"title": "一对一语音",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/live/details/startLive",
		"title": "开始直播",
		"status": true,
		"leftIcon": "arrow-left",
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/im/imLayout",
		"title": "im示例",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	},
	{
		"path": "pages/im/series/circleOfFriends",
		"title": "朋友圈",
		"leftIcon": "arrow-left",
		"status": true,
		"style": {
			"enablePullDownRefresh": false,
			"navigationStyle": "custom"
		}
	}
];

export default {
	/* 默认的匹配规则 */
	defaultMatch(route) {
		return titles.filter(i => i.path == route)[0];
	},
}
